@import '../../../../css/mobile/components/normalize';
@import '../../../../css/mobile/components/font';

.banner {
  height: 1040px;
  background: url(../img/banner.jpg);
  background-size: 100% 100%;
  position: relative;
  text-align: center;

  .rule {
    position: absolute;
    right: 20px;
    width: 156px;
    height: 56px;
    line-height: 56px;
    background: rgba(34, 199, 255, 1);
    border-radius: 0px 0px 16px 16px;
    font-size: 28px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
  }

  .play-icon {
    display: inline-block;
    width: 96px;
    height: 96px;
    background: url('../icon/ic_play.png');
    background-size: 100% 100%;
    position: absolute;
    top: 630px;
    margin-left: -48px;
    cursor: pointer;
    z-index: 2;
  }
}

.count-down {
  margin-top: 28px;
  text-align: center;
  display: none;
  div {
    display: inline-block;
    height: 48px;
    line-height: 53px;
    padding-top: 1.5px;
  }
  .text {
    margin-right: 12px;
    font-size: 28px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
  }
  #day, #hour, #min, #sec {
    width: 56px;
    background: rgba(238, 238, 238, 1);
    border-radius: 12px;
  }
  .colon {
    margin: 0 2px;
  }
}

.illustrate {
  height: 180px;
  width: 660px;
  margin: 66px auto 0 auto;
  background: url(../img/illustrate.jpg);
  background-size: 100% 100%;
}

.user-list {
  margin-top: 8px;
  padding: 0 76px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .user-item {
    display: inline-block;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 20px 0;
    position: relative;

    img.avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      content: unset !important;
    }

    &.win {
      border: 6px solid #F10000;
    }

    &.win:before {
      width: 50px;
      height: 58px;
      position: absolute;
      top: -26px;
      left: 34.5px;
      content: '' !important;
      background: url(../img/gift.png);
      background-size: 100% 100%;
      z-index: 1;
    }
    &.captain:after {
      width: 96px;
      height: 40px;
      background: rgba(63, 206, 254, 1);
      border-radius: 20px;
      position: absolute;
      left: 12px;
      bottom: -10px;
      text-align: center;
      content: '团长' !important;
      font-size: 28px;
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      line-height: 40px;
      z-index: 2;
    }
  }
}

.group-buy-status {
  margin: 28px auto 50px auto;
  text-align: center;
  height: 40px;
  font-size: 28px;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: rgba(51, 51, 51, 1);
  line-height: 40px;

  .red {
    color: rgba(231, 0, 0, 1);
  }
}

.buy {
  position: fixed;
  left: 50px;
  bottom: 44px;
  width: 650px;
  height: 92px;
  line-height: 92px;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(255, 222, 0, 1) 0%, rgba(255, 173, 0, 1) 50%, rgba(255, 146, 0, 1) 100%);
  border-radius: 46px;
  text-align: center;
  font-size: 32px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  z-index: 100;
}

.video-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1005;
  overflow: hidden;
  display: none;

  .close-icon {
    background: url('../../../../icon/mobile/campaign/christmas/close.svg') no-repeat;
    background-size: 96px 96px;
    width: 96px;
    height: 96px;
    display: block;

    &.icon {
      cursor: pointer;
      z-index: 1005;
      position: absolute;
      overflow: hidden;
      top: 15%;
      left: 50%;
      margin-left: -48px;
    }
  }

  .video {
    margin-top: 20%;
    .vcp-player {
      margin: 0 auto;
    }
  }
}

.share-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1005;
  overflow: hidden;
  display: none;

  .share-arrow {
    background: url('../img/share_arrow.png');
    background-size: 442px 206px;
    width: 442px;
    height: 206px;
    position: absolute;
    top: 22px;
    right: 28px;
  }
}